<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./day04.css/购物车.css">
</head>
<body>
    <table border="1" cellspacing = 0>
        <tr>
            <td>商品</td>
            <td>价格</td>
            <td>数量</td>      
        </tr>
        <tr>
            <td>测试商品1</td>
            <td class="price">20</td>
            <td><span class="sub">-</span><input type="number" value="0" min="0"><span class="add">+</span></td> 
        </tr>
        <tr>
            <td>测试商品2</td>
            <td class="price">30</td>
            <td><span class="sub">-</span><input type="number"  value="0" min="0"><span class="add">+</span></td>
        </tr>
        <tr>
            <td>测试商品3</td>
            <td class="price">40</td>
            <td><span class="sub">-</span><input type="number"  value="0" min="0"><span class="add">+</span></td>
        </tr>
        <tr>
            <td>测试商品4</td>
            <td class="price">50</td>
            <td><span class="sub">-</span><input type="number"  value="0" min="0"><span class="add">+</span></td>
        </tr>
    </table>
    <div>总价格<span class="zj">0</span>总件数<span class="js">0</span></div>


    <script src="./day04.js/购物车.js"></script>
</body>
</html>